/*global cordova*/
module.exports = {
  login: function (arg, success, failure) {
    cordova.exec(success, failure, "WX", "login");
  },
  isInstalled: function (success, failure) {
    cordova.exec(success, failure, "WX", "isInstalled");
  }
};